package com.example.stock.entity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.stock.entity.eo.UnitEo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UnitMapper extends BaseMapper<UnitEo> {

    @Select("select max(tr_group) from trade")
    Integer getMaxId();
}